From ab452d0667ad37d36d58f69c539d8250bc512248 Mon Sep 17 00:00:00 2001 From: Alastair Tse Date: Thu, 4 Jan 2007 16:42:44 +0000 Subject: [PATCH] [XEND] Fix block-list for dom0 in xm. Signed-off-by: Alastair Tse --- tools/python/xen/xend/XendConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 92af7b4239..f003c6e9eb 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -859,7 +859,7 @@ class XendConfig(dict): found = False # figure if there is a dev controller is valid and running - if domain and domain.getDomid(): + if domain and domain.getDomid() != None: try: controller = domain.getDeviceController(cls) configs = controller.configurations() -- 2.30.2